Optimal. Leaf size=49 \[ -\frac{(b \sec (e+f x))^{n+1} \, _2F_1\left (1,\frac{n+1}{2};\frac{n+3}{2};\sec ^2(e+f x)\right )}{b f (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0382708, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {2622, 364} \[ -\frac{(b \sec (e+f x))^{n+1} \, _2F_1\left (1,\frac{n+1}{2};\frac{n+3}{2};\sec ^2(e+f x)\right )}{b f (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2622
Rule 364
Rubi steps
\begin{align*} \int \csc (e+f x) (b \sec (e+f x))^n \, dx &=\frac{\operatorname{Subst}\left (\int \frac{x^n}{-1+\frac{x^2}{b^2}} \, dx,x,b \sec (e+f x)\right )}{b f}\\ &=-\frac{\, _2F_1\left (1,\frac{1+n}{2};\frac{3+n}{2};\sec ^2(e+f x)\right ) (b \sec (e+f x))^{1+n}}{b f (1+n)}\\ \end{align*}
Mathematica [A] time = 0.33198, size = 92, normalized size = 1.88 \[ \frac{(b \sec (e+f x))^n \left (\, _2F_1(1,-n;1-n;\cos (e+f x))-2^n \sec ^2\left (\frac{1}{2} (e+f x)\right )^{-n} \, _2F_1\left (-n,-n;1-n;\frac{1}{2} \cos (e+f x) \sec ^2\left (\frac{1}{2} (e+f x)\right )\right )\right )}{2 f n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.403, size = 0, normalized size = 0. \begin{align*} \int \csc \left ( fx+e \right ) \left ( b\sec \left ( fx+e \right ) \right ) ^{n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \sec \left (f x + e\right )\right )^{n} \csc \left (f x + e\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (b \sec \left (f x + e\right )\right )^{n} \csc \left (f x + e\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \sec{\left (e + f x \right )}\right )^{n} \csc{\left (e + f x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \sec \left (f x + e\right )\right )^{n} \csc \left (f x + e\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]